package com.mimiwang.comment.service;

import com.github.pagehelper.PageInfo;
import com.mimiwang.comment.entity.Comment;
import com.mimiwang.comment.vo.CommentVo;
import com.mimiwang.common.vo.school.PageConfig;

/**
 * @AUTHOR:游李滨
 * @DATE:2023/5/2 19:33
 */
public interface AnimalCommentService {

    PageInfo<CommentVo> selectCommentListByAnimalId(long animalId, PageConfig pageConfig);
    PageInfo<CommentVo> selectChildCommentListByParentId(long parentId, PageConfig pageConfig);
    boolean insertAnimalComment(Comment comment,int animalId);
    boolean insertReplyComment(Comment comment);
    boolean deleteComment(int commentId);

}
